{include file="admin/infoline.html"}
<ul class="new_topMenu">
	<li style="height:25px"><a href="index.php?admin=1&body="><img src="_tvs_system_core_/design/img/icon_home.gif" style="margin:7px 3px 0 3px "></a></li>
{if $site_permission.main_tree == 1}
	<li {if $smarty.session.body=='admin/body/content.htm'} class="selected"{/if}><a href="index.php?admin=1&body=admin/body/content.htm">{t t='admin_menu_content_management'}</a></li>
{/if}
{if $site_permission.main_blocks == 1}
	<li {if $smarty.session.body=='admin/body/aditionalelements.htm'} class="selected"{/if}><a href="index.php?admin=1&body=admin/body/aditionalelements.htm">{t t='Informacijos blokų katalogas'}</a></li>
{/if}
{if $site_permission.main_sitesettings == 1}
	<li {if $data.page.type=='site_settings01'} class="selected"{/if}><a href="index.php?admin=1&id={$site_data_id}">{t t='Tiklalapio nuostatos'}</a></li>
{/if}
{ext->is_form_block assign="is_form"}
{if isset($_var.type) && $_var.type == 1}
	
{elseif ($site_permission.main_forms == 1) && ($is_form == 1)}
	<li {if $smarty.session.body=='admin/body/forms/forms.htm'} class="selected"{/if}><a href="index.php?admin=1&body=admin/body/forms/forms.htm">{t t='Formos'}</a></li>
{/if}
{if $site_permission.clients == 1}
	<li {if $smarty.session.body=='admin/modules/client/client.htm'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/client/client.htm&module=clients">{t t='Klientai'}</a></li>
{/if}
{if $site_permission.subscribe_news == 1}
	<li {if $smarty.session.body=='admin/modules/subscribe_news/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/subscribe_news/index.html&module=subscribe_news">{t t='Naujienų prenumerata'}</a></li>
{/if}
{if $site_permission.letters == 1}
	<li {if $smarty.session.body=='admin/modules/letters/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/letters/index.html&module=letters">{t t='Laiškų siųntimas'}</a></li>
{/if}
{if $site_permission.docum == 1}
	<li {if $smarty.session.body=='admin/modules/docum/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/docum/index.html&module=docum">{t t='Dokumentų valdymas'}</a></li>
{/if}
{if $site_permission.contacts == 1}
	<li {if $smarty.session.body=='admin/modules/contacts/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/contacts/index.html&module=contacts">{t t='Kontaktų valdymas'}</a></li>
{/if}
{if $site_permission.realstate == 1}
	<li {if $smarty.session.body=='admin/modules/realstate/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/realstate/index.html&module=realstate">{t t='N. turtas'}</a></li>
{/if}
{if $site_permission.shop == 1}
	<li {if $smarty.session.body=='admin/modules/shop/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/shop/index.html&module=shop">{t t='Parduotuvė'}</a></li>
{/if}
{if $site_permission.shop_cart == 1}
	<li {if $smarty.session.body=='admin/modules/shop_cart/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/shop_cart/index.html&module=shop_cart">{t t='Prekių krepšelis'}</a></li>
{/if}
{if $site_permission.payment == 1}
	<li {if $smarty.session.body=='admin/modules/payment/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/payment/index.html&module=payment">{t t='Apmokėjimo budai'}</a></li>
{/if}
{if $site_permission.forum == 1}
	<li {if $smarty.session.body=='admin/modules/forum/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/forum/index.html&module=forum">{t t='Forumai'}</a></li>
{/if}
{if $site_permission.reiting == 1}
	<li {if $smarty.session.body=='admin/modules/reiting/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/reiting/index.html&module=reiting">{t t='Reitingai'}</a></li>
{/if}
{if $site_permission.watermark == 1}
	<li {if $smarty.session.body=='admin/modules/watermark/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/watermark/index.html&module=watermark">{t t='Watermark'}</a></li>
{/if}
{if $site_permission.plugins == 1}
	<li {if $smarty.session.body=='admin/modules/plugins/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/plugins/index.html&module=plugins">{t t='Plugins'}</a></li>
{/if}
{if $site_permission.comment == 1}
	<li {if $smarty.session.body=='admin/modules/comment/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/comment/index.html&module=comment">{t t='Comments'}</a></li>
{/if}
{ext->class_function class="backup" func="is_backup" assign="is_backup"}
{if ($is_backup == 1)}
{if $site_permission.backup == 1}
	<li {if $smarty.session.body=='admin/modules/backup/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/backup/index.html&module=backup">{t t='Atsarginės kopijos'}</a></li>
{/if}
{/if}
{if $site_permission.events == 1}
	<li {if $smarty.session.body=='admin/body/events/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/body/events/index.html&module=events">{t t='Events'}</a></li>
{/if}
{if $site_permission.siteblocker == 1}
	<li {if $smarty.session.body=='admin/modules/siteblocker/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/siteblocker/index.html&module=siteblocker">{t t='Site blocker'}</a></li>
{/if}
{if $site_permission.ntplius == 1}
	<li {if $smarty.session.body=='admin/modules/ntplius/index.html'} class="selected"{/if}><a href="index.php?admin=1&body=admin/modules/ntplius/index.html&module=ntplius">{t t='NT Plius'}</a></li>
{/if}
{if isset($interface_modules) && $interface_modules}
{foreach from=$interface_modules key="module" item="item"}
    {if $site_permission[$module] == 1}
    <li {if $smarty.session.body==$item.body} class="selected"{/if}><a href="{$item.href}">{t t=$item.title}</a></li>
    {/if}
{/foreach}
{/if}
</ul>
<div style="border-bottom:5px solid #25404E; margin-bottom:15px"></div>
